<?php
if (!empty($this->arrData)) {
    $arr2news = $arr3news = array();
    if (count($this->arrData) > 2) {
        $arr2news = array_slice($this->arrData, 0, 2);
        if (count($this->arrData) > 3) {
            $arr3news = array_slice($this->arrData, 2, 3);
        }
    }
    ?>
    <div class="cate_championleague box_width_common">
        <div class="title_block">
            <div class="txt_title_left_block"><h3><a class="txt_black_hover_blue" href="<?php echo $this->Categoryurl($this->articleCategoryID); ?>" title="Xem thêm" alt="Xem thêm"><?php echo $this->Categoryname($this->articleCategoryID); ?></a></h3></div>

            <div class="txt_view_more"><a href="<?php echo $this->Categoryurl($this->articleCategoryID); ?>" class="txt_gray" title="Xem thêm" alt="Xem thêm">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span></div>	
            <div class="clear">&nbsp;</div>  
        </div>
        <div class="content_block">
            <div class="main_content_block">
                <div class="w320 left">
                    <div class="news_left">
                        <ul class="list_news">
                            <?php foreach ($arr2news as $key => $news) { ?>
                                <li class="<?php echo ($key == 1) ? 'end' : ''; ?>">
                                    <?php if (!empty($news['thumbnail_url'])) { ?>
                                        <a href="<?php echo $this->articleurl($news); ?>" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>"><img src="<?php echo $this->imageurl($news['thumbnail_url'], $this->imageSize['size3']); ?>" width="155" height="116" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>" /></a>
                                    <?php } ?>
                                    <div class="decs">
                                        <p><a href="<?php echo $this->articleurl($news); ?>" class="txt_black_hover_blue" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>"><b><?php echo $news['title']; ?></b></a><?php echo $this->ArticleViewIcon($news['privacy']); ?></p>
                                        <p class="txt_gray txt_11"><?php echo $this->DateTimeFormat($news['publish_time']); ?><span class="icon_portal_thethao icon_commend">&nbsp;</span> <?php echo $this->articlecomment($news); ?></p>
                                    </div>
                                </li>
                            <?php } ?>
                        </ul>
                    </div>
                </div>
                <div class="w320 right">
                    <div class="news_right">
                        <ul class="list_dot_3x3">
                            <?php
                            if (!empty($arr3news)) {
                                $last_key = key(array_slice($arr3news, -1, 1, TRUE));
                                foreach ($arr3news as $key => $news) {
                                    ?>
                                    <li <?php echo ($last_key == $key) ? 'class="end"' : ''; ?>>
                                        <div class="box_width_common dot_bottom">
                                            <p><a href="<?php echo $this->articleurl($news); ?>" class="txt_black_hover_blue" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>"><b><?php echo $news['title']; ?></b></a></p>
                                            <p><?php echo $news['lead']; ?></p>
                                        </div>
                                    </li>
                                <?php }
                            } ?>
                        </ul>
                    </div>
                </div>
                <div class="clear">&nbsp;</div>
            </div>
        </div>

    </div>
    <?php
}
?>